using System;
using UnityEngine;

[Serializable]
public class Waypoint : MonoBehaviour
{
	public Color color;

	public float radius;

	public string iconName;

	public float delay;

	public string callFunction;

	public string callExitFunction;

	public float newMoverSpeed;

	public Waypoint()
	{
		radius = 0.25f;
	}

	public void OnDrawGizmos()
	{
		Gizmos.color = color;
		Gizmos.DrawSphere(transform.position, radius);
		if (iconName != string.Empty)
		{
			Vector3 position = transform.position;
			float x = position.x;
			Vector3 position2 = transform.position;
			float y = position2.y + radius * 1.5f;
			Vector3 position3 = transform.position;
			Gizmos.DrawIcon(new Vector3(x, y, position3.z), iconName, allowScaling: true);
		}
	}

	public void Main()
	{
	}
}
